package com.sinodata.bsm.cicp.finder.jboss;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.sinodata.bsm.cicp.finder.Finder;

/**
 *
 * JTAFinder.java
 * 对Jboss 事务管理器的发现
 */
public class JTAFinder extends Finder {

    @SuppressWarnings("unchecked")
    @Override
    public List<String[]> find(String ip, Map params) {
        List<String[]> list = new ArrayList<String[]>();
        String[] info = new String[3];
        list.add(info);
        info[0] = ip + "_JbossTransactionManager_JBoss JTA";
        info[1] = "JBoss JTA";
        info[2] = ip + "_JbossTransactionManager_JBoss JTA";
        return list;
    }

}
